// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui'
import store from './store/index'
// 时间处理
import moment from 'moment'

import axios from './config/axios'
import setting from './config/settings'
// 整屏自动拉伸
import './config/sizefix'
import './assets/sizefix.css'
// elementui样式css
// import 'element-ui/lib/theme-chalk/index.css';
import 'element-ui/lib/theme-chalk/base.css';
// 浏览器样式统一
import "normalize.css";

Vue.config.productionTip = false
Vue.use(ElementUI);

Vue.prototype.$http = axios;
Vue.prototype.$setting = setting;

window.moment = moment;
window.moment.locale('zh-cn');

/* eslint-disable no-new */
new Vue({
  el: '#root',
  router,
  store,
  components: { App },
  template: '<App/>'
})
